package com.yc.cloud.openai.portal.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.cloud.common.basic.dto.BaseQueryParam;
import com.yc.cloud.openai.entity.VideoRecord;
import com.yc.cloud.openai.portal.dto.video.VideoRecordListParam;
import com.yc.cloud.openai.vo.VideoRecordVo;

/**
 * <p>
 * AI视频记录 服务类
 * </p>
 *
 * @author Yancy
 * @since 2025-02-13
 */
public interface VideoRecordService extends IService<VideoRecord> {

  /***
   * description:查询列表
   * 
   * @param param 查询条件
   * @return 数据信息
   */
  IPage<VideoRecordVo> list(VideoRecordListParam param, BaseQueryParam queryParam);

  VideoRecordVo convertVo(VideoRecord videorecord);

  List<VideoRecordVo> convertVo(List<VideoRecord> videorecordList);

  VideoRecord create(VideoRecord param);

  VideoRecordVo get(Long id);

  VideoRecord update(Long id, VideoRecord videorecord);

  boolean delete(Long id);

  /**
   * 根据状态查询列表
   * 
   * @param statusList 状态列表
   * @return 列表
   */
  List<VideoRecord> listByStatus(List<String> statusList);
}
